<template>
  <div>
    <label for="">{{label}}</label><span>{{value}}</span> <slot></slot>
  </div>
</template>

<script>
export default {
  name: 'YcItem',
  props: ['label', 'value']
}
</script>

<style lang="stylus" scoped>
div
  height auto
  padding 10px 0 10px 0
  label
    display inline-block
    width 120px
    text-align left
    padding 10px 10px 0 0
  span
    padding 10px 20px 0 0
</style>
